ci: Update deny to v2
authorColin Walters <walters@verbum.org>
Wed, 21 May 2025 13:30:01 +0000 (13:30 +0000)
committerColin Walters <walters@verbum.org>
Wed, 21 May 2025 13:49:50 +0000 (13:49 +0000)
It looks like the v1 action due to a crate bump
started hard requiring a newer rust?

Signed-off-by: Colin Walters <walters@verbum.org>
.github/workflows/rust.yml
deny.toml

index dd159dd96c4d3113e3dca6ca9fba225f264a59dc..4d36984df212043d2a51826eab8253eb778defca 100644 (file)
@@ -86,10 +86,10 @@ jobs:
       - name: Run tests
         run: cargo test --verbose --features=${{ env['LATEST_LIBOSTREE'] }}
   cargo-deny:
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-24.04
     steps:
-    - uses: actions/checkout@v2
-    - uses: EmbarkStudios/cargo-deny-action@v1
+    - uses: actions/checkout@v4
+    - uses: EmbarkStudios/cargo-deny-action@v2
       with:
         log-level: warn
         command: check bans sources licenses
index 42ab97911b56e8366d7cf4fb74c41fc7010db1a5..dce0330a261dc3a87d1bc66fc0fa021837f49a16 100644 (file)
--- a/deny.toml
+++ b/deny.toml
@@ -1,6 +1,4 @@
 [licenses]
-unlicensed = "deny"
-copyleft = "allow"
 allow = ["Apache-2.0", "Apache-2.0 WITH LLVM-exception", "MIT", "BSD-3-Clause", "BSD-2-Clause", "Unlicense", "Unicode-DFS-2016", "Unicode-3.0"]
 private = { ignore = true }